Kali host

172.16.10.1

10.1.0.1

p-web-01

172.16.10.10

-

p-web-01.acme-infinity-servers.com

p-ftp-01

172.16.10.11

-

p-ftp-01.acme-infinity-servers.com

p-web-02

172.16.10.12

10.1.0.11

p-web-02.acme-infinity-servers.com

c-jumpbox-01

172.16.10.13

10.1.0.12

c-jumpbox-01.acme-infinity-servers.com

c-backup-01

-

10.1.0.13

c-backup-01.acme-infinity-servers.com

c-redis-01

-

10.1.0.14

c-redis-01.acme-infinity-servers.com

c-db-01

-

10.1.0.15

c-db-01.acme-infinity-servers.com

c-db-02

-

10.1.0.16

c-db-02.acme-infinity-servers.com

c-syslog-01

-

10.1.0.17

c-syslog-01.acme-infinity-servers.com

When you perform penetration tests from Kali, keep in mind that you may

sometimes see Kalis own IP addresses, 172.16.10.1 and 10.1.0.1, pop up in

certain tool results. We wont be testing those.

Managing the Lab

Now that you’ve set up your lab and taken a close look at its components,

you’ll learn how to tear it down, start it, and rebuild it if needed.

Shutting Down

When youre not using the lab environment, its a good practice to turn it off.

To shut down all the containers running in the lab, run the following:

$ ./run.sh teardown

You should receive a list of all stopped containers, as well as the removed

networks and volumes, as shown here:

==== Shutdown Started ====

Stopping p-web-02 ... done

Stopping c-jumpbox-01 ... done

--snip--

Removing volume lab_p_web_02_vol

OK: lab has shut down.

To restart your containers, simple re-run the deploy command mentioned in

“Deploying Docker Containers” on page XX.

Removal

To completely remove the lab environment from your Kali machine, you can

run the cleanup command. This will destroy all containers and their images:

$ ./run.sh cleanup

==== Cleanup Started ====

Black Hat Bash (Early Access) © 2023 by Dolev Farhi and Nick Aleks